package com.moodbox.server.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moodbox.server.user.entity.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户数据访问接口
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据微信OpenID查询用户
     * @param wxOpenId 微信OpenID
     * @return 用户信息
     */
    User selectByWxOpenId(String wxOpenId);
} 